<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8" import="java.util.ArrayList,com.heitaoking.blog.entity.Blog"%> 
     
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Insert title here</title>
<link rel="stylesheet" type="text/css" href="<%=request.getContextPath()%>/css/style1.css"/>
</head>
<body>
<div id="Layer1">
<div id="Layer2">
  <div align="justify"><h1 >&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<link rel="stylesheet" type="text/css" href="<%=request.getContextPath()%>/jsp/DH-shouye.jsp"/>首页</a></h1></div>
</div>
<div id="Layer3">3</div>
<div id="Layer4">
  <table width="800" border="0">
    <tr>
      <td width="547" height="25">导航栏</td>
      <td width="75"><a href="<%=request.getContextPath()%>/jsp/yemianJSP/DH-shouye.jsp">主页</a></td>
      <td width="75"><a href="<%=request.getContextPath()%>/jsp/yemianJSP/DH-shoucang.jsp">收藏</a></td>
      <td width="75"><a href="<%=request.getContextPath()%>/jsp/yemianJSP/DH-haoyou zhuye.jsp">好友</a></td>
    </tr>
  </table>
</div>
<div id="Layer5">博文管理<div id="Layer10"></div></div>
<div id="Layer6">已发博文<div id="Layer16">分类</div></div>

<div id="content"> 
	<%
					ArrayList<Blog> blogList = (ArrayList<Blog>) request
							.getAttribute("blogList");
					if (blogList != null) {
				%>

				<%
					for (Blog blog : blogList) {
				%>



				<div class=mo>
					<div class=mo>
						<h3><%=blog.getBiaotiname()%></h3>
					</div>
					<div class=mo><%=blog.getBiaotiname2()%></div>
				</div>
				<%
					}
					}
				%>

</div>
<div id="Layer15">双体实训</div>
<div id="Layer20"align="right"><pre>欢迎光临：<strong>双体系</strong>   <a href="/jsp/yemianJSP/DH-shouye.jsp">我的主页</a>   <a href="/jsp/yemianJSP/DH-pinglun guanli.jsp">我的评论</a>  （几条未读）   <a href="/jsp/yemianJSP/DH-bowen guanli.jsp">我的分类</a>   <a href="/jsp/yemianJSP/DH-haoyou guanli.jsp">我的好友</a>   <a href="/jsp/yemianJSP/DH-shouye.jsp">短消息（几条未读）</a>   <a href="/jsp/yemianJSP/WD-shouye.jsp">退出</a>
</pre>
</div>
</div>
</body>
</html>